﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fractalz.MainWindow
{
    // used for reporting status of IFractalWindow
    public class FractalStatus
    {
        public TimeSpan remainingTime { get; private set; }
        public TimeSpan elapsedTime { get; private set; }
        public DateTime timeRenderStarted { get; private set; }
        public DateTime timeRenderFinished { get; private set; }
        private RenderType _renderStatus;

        // default Constructor.  Setting defaults.
        public FractalStatus()
        {
            remainingTime = TimeSpan.Zero;
            elapsedTime = TimeSpan.Zero;
            timeRenderFinished = DateTime.MaxValue;
            //TODO!!!!!!!!!

        }


        public RenderType renderStatus()
        {
            return _renderStatus;
        }

        // Conceptual stuff only!!
        public void blah()
        {
            _renderStatus = RenderType.Finished;
        }
    }

    public enum RenderType
    {
        Rendering,
        Queued,
        Unrendered,
        Finished
    }
}